<template>
  <view class="axq-img">
    <image class="axq-img__image" :src="src" :mode="mode" />
  </view>
</template>

<script>

export default {
  name: 'AxqImg',
  components: {

  },
  mixins: [],
  props: {
    src: { type: String },
    mode: { type: String, default: 'aspectFit' }
  },
  data () {
    return {}
  },
  methods: {
  }
}
</script>

<style lang="less">
.axq-img {
  position: relative;
  &__image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: inherit;
    width: inherit;
  }
}
</style>